package com.ttg.model.mapper;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.TagPageDTO;
import com.ttg.model.dto.job.ModelAcctPageDTO;
import com.ttg.model.pojo.BankAccountPrimitive;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.model.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (TblBankAccountPrimitive) mapper
 *
 * @author chenyou
 * @datetime 2025-11-11 10:13:55
 */
 @Mapper
public interface BankAccountPrimitiveMapper extends BaseMapper<BankAccountPrimitive>{

     List<SettAcctTimeAmtVO> getSettAcctTimeAmt(@Param("date") Integer date, @Param("acctNos") List<Long> acctNos);

    List<AcctPrimitiveSumVO> getAcctInfoByMonth(@Param("firstDay") Integer firstDay, @Param("lastDay") Integer lastDay, @Param("acctNos") List<Long> acctNos);

    Integer getAcctNosCount(@Param("reqDto") ModelAcctPageDTO pageDTO);

    BasePage<Long> getAcctNosByPage(BasePage page, @Param("reqDto") ModelAcctPageDTO reqDto);

    List<ModelAcctVO> getAcctModel(@Param("firstDay") Integer firstDay, @Param("lastDay") Integer lastDay, @Param("actType") Integer actType, @Param("acctNos") List<Long> acctNos);

    List<AcctMctVipInfoVO> getMctVipInfoByActNos(@Param("day") Integer day, @Param("acctNos") List<Long> acctNos);
}

